package com.apobates.forum.toro.test.core;
// 文章
public class Article {
    private long id;
    // 标题
    private String subject;
    // 简述
    private String summary;
    // 标签
    private String taies;
    // 编号
    private String serialNo;
    // 栏目
    private int sectionId;
    // 作者
    private int authorId;

    public Article(long id, String subject, String summary, String taies, String serialNo, int sectionId, int authorId) {
        this.id = id;
        this.subject = subject;
        this.summary = summary;
        this.taies = taies;
        this.serialNo = serialNo;
        this.sectionId = sectionId;
        this.authorId = authorId;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public int getSectionId() {
        return sectionId;
    }

    public void setSectionId(int sectionId) {
        this.sectionId = sectionId;
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public String getTaies() {
        return taies;
    }

    public void setTaies(String taies) {
        this.taies = taies;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }
}
